PEHasSavedData

Use PEHasSavedData to determine if the specified report has data saved with it in memory. With this information, you can determine whether or not the data needs to be refreshed before the report is printed. See Remarks below.

C Syntax
BOOL CRPE_API PEHasSavedData (
        short printJob,
        BOOL FAR *hasSavedData );
Parameters

printJob

Specifies the handle of the print job you want to query to determine if it has saved data with it.

hasSavedData

Specifies a pointer to a Boolean value that indicates whether or not there is data saved with the report.

Returns
Remarks
VB Syntax

VB Sample Code for Custom Print Link

Declare Function PEHasSavedData Lib "crpe32.dll" (
    ByVal printJob As Integer, HasSavedData As Long ) As Integer
Delphi Syntax
function PEHasSavedData(
    printJob: Word;
    var hasSavedData: Bool
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com